home *** CD-ROM | disk | FTP | other *** search
- /* hyperlinks */
- a:link { text-decoration:underline; color:blue; cursor:pointer; behavior:hyperlink; }
- a:link:hover { color:red; }
- a:link:active { text-decoration:none; }
-
- /* edit box and numeric input*/
- input[type="text"],
- input[type="number"]
- {
- font-family:system;
- padding:3px;
- height:1em;
- width:1em;
- behavior:edit;
- background-image:url(theme:edit-normal);
- background-repeat:stretch;
- width: min-intrinsic;
- height: min-intrinsic;
- text-align: left;
- cursor:text;
- }
-
- input[type="hidden"] { display:none; }
-
- input[type="number"]
- {
- text-align: right;
- behavior:number;
- }
-
- input[type="number"][invalid]
- {
- color:red;
- }
-
-
- input[type="number"] > button.minus
- {
- padding:0;
- background-image:url(theme:v-spin-minus-normal);
- background-repeat:stretch;
- }
- input[type="number"] > button.minus:hover
- {
- background-image:url(theme:v-spin-minus-hover);
- }
- input[type="number"] > button.minus:active
- {
- background-image:url(theme:v-spin-minus-pressed);
- }
- input[type="number"] > button.plus
- {
- padding:0;
- background-image:url(theme:v-spin-plus-normal);
- background-repeat:stretch;
- }
- input[type="number"] > button.plus:hover
- {
- background-image:url(theme:v-spin-plus-hover);
- }
- input[type="number"] > button.plus:active
- {
- background-image:url(theme:v-spin-plus-pressed);
- }
-
-
- /* text button */
- input[type="button"], button
- {
- padding:4px 8px;
- display:inline-block;
- white-space: nowrap;
- behavior:button;
- background-repeat:stretch;
- background-image:url(theme:button-normal);
- cursor:default;
- }
- input[type="button"]:hover, button:hover
- {
- background-image:url(theme:button-hover);
- transition: blend;
- }
- input[type="button"]:active, button:active
- {
- background-image:url(theme:button-pressed);
- }
- input[type="button"]:disabled, button[disabled]
- {
- background-image:url(theme:button-disabled);
- }
- input[type="button"]:focus, button:focus
- {
- outline:1px dotted black -4px; /* inside */
- }
-
-
- /* radio button */
- input[type="radio"]
- {
- padding:5px;
- height:13px;
- width:13px;
- behavior:radio;
- background-repeat:no-repeat;
- background-position:50% 50%;
- background-image:url(theme:radio-normal);
- cursor:default;
- }
- input[type="radio"]:hover
- {
- background-image:url(theme:radio-hover);
- }
- input[type="radio"]:active
- {
- background-image:url(theme:radio-pressed);
- }
- input[type="radio"]:disabled
- {
- background-image:url(theme:radio-disabled);
- }
- input[type="radio"]:checked
- {
- background-image:url(theme:radio-checked-normal);
- }
- input[type="radio"]:checked:hover
- {
- background-image:url(theme:radio-checked-hover);
- }
- input[type="radio"]:checked:active
- {
- background-image:url(theme:radio-checked-pressed);
- }
- input[type="radio"]:checked:disabled
- {
- background-image:url(theme:radio-checked-disabled);
- }
-
- input[type="radio"]:focus
- {
- outline:1px dotted black -3px; /* inside */
- }
-
- /* checkbox button */
- input[type="checkbox"]
- {
- padding:5px;
- height:13px;
- width:13px;
- behavior:check;
- background-repeat:no-repeat;
- background-position:50% 50%;
- background-image:url(theme:check-normal);
- cursor:default;
- }
- input[type="checkbox"]:hover
- {
- background-image:url(theme:check-hover);
- }
- input[type="checkbox"]:active
- {
- background-image:url(theme:check-pressed);
- }
- input[type="checkbox"]:disabled
- {
- background-image:url(theme:check-disabled);
- }
- input[type="checkbox"]:checked
- {
- background-image:url(theme:check-checked-normal);
- }
- input[type="checkbox"]:checked:hover
- {
- background-image:url(theme:check-checked-hover);
- }
- input[type="checkbox"]:checked:active
- {
- background-image:url(theme:check-checked-pressed);
- }
- input[type="checkbox"]:checked:disabled
- {
- background-image:url(theme:check-checked-disabled);
- }
- input[type="checkbox"]:focus
- {
- outline:1px dotted black -3px; /* inside */
- }
-
-
- /* select (not dropdown) */
- select[type="select"], widget[type="select"]
- {
- overflow-x:hidden;
- overflow-y:auto;
- behavior:select;
- padding:2px;
- background-repeat:stretch;
- background-image:url(theme:edit-normal);
- width: max-intrinsic;
- height: max-intrinsic;
- }
-
- optgroup > caption
- {
- padding:3px 3px; font-weight:bold;
- color: graytext;
- }
-
- option
- {
- padding:0px 3px;
- }
-
- option:checked
- {
- background-color:threedlight; color:windowtext;
- }
-
- select[type="select"][multiple] option,
- widget[type="select"][multiple] option
- {
- padding: 2px 0px 2px 20px;
- background-repeat:no-repeat;
- background-position:4px 50%;
- background-image:url(theme:check-normal);
- }
-
- select[type="select"][multiple] option:checked,
- widget[type="select"][multiple] option:checked
- {
- background-image:url(theme:check-checked-normal);
- }
-
-
- widget:focus option:current,
- select:focus option:current
- {
- background-color:highlight; color:highlighttext;
- }
-
- optgroup > option
- {
- padding:0px 19px;
- }
-
- options
- {
- padding-left:32px;
- foreground-image:url(theme:tree-view-glyph-closed);
- foreground-repeat: no-repeat;
- foreground-position: 3px 3px;
- }
-
- options:expanded
- {
- foreground-image:url(theme:tree-view-glyph-open);
- }
-
- /* all elements in <options> by default are non-visible */
- options > * { display:none; }
-
- /* elements in open options are visible */
- options:expanded > * { display:block; }
-
- /* options caption element, always visible */
- options > :first-child
- {
- padding:0 3px;
- display:block;
- margin-left:-16px;
- }
- options:current > :first-child
- {
- background-color:threedlight; color:windowtext;
- }
-
- widget:focus options:current > :first-child,
- select:focus options:current > :first-child
- {
- background-color:highlight; color:highlighttext;
- }
-
- /* options caption element, always visible */
- select[type="select-dropdown"]
- {
- overflow:hidden;
- behavior:dropdown-select;
- padding:0;
- flow:horizontal; /* caption, button*/
- background-repeat:stretch;
- background-image:url(theme:edit-normal);
- width: max-intrinsic;
- height: max-intrinsic;
- }
-
- /* caption portion of combobox */
- select[type="select-dropdown"] > caption
- {
- padding:1px 3px;
- margin:2px 0px 2px 2px;
- overflow:hidden;
- width:100%%; /* everything left from button */
- height:100%%; /* takes full height */
- vertical-align:middle;
- white-space: nowrap;
- background-color:window; color:windowtext;
- }
-
- /* caption portion of combobox when select is in focus */
- select[type="select-dropdown"]:focus > caption
- {
- background-color:highlight; color:highlighttext;
- }
-
- /* popup select element */
- select[type="select-dropdown"] > select
- {
- overflow-x:hidden;
- overflow-y:auto;
- padding:2px;
- display:none; /* invisible normally */
- /* background-repeat:stretch;
- background-image:url(theme:edit-normal);
- */
- border:1px solid threedshadow;
- background-color: window;
- behavior:select;
- width: max-intrinsic;
- height: max-intrinsic;
- }
-
- /* dropdown button of the combobox */
- select[type="select-dropdown"] > button
- {
- width: 15px; /* metrics(width, theme:combobox-button-normal) */
- margin:1px 1px 1px 0px;
- padding:0px;
- height:100%%;
- background-repeat:stretch;
- background-image:url(theme:combobox-button-normal);
- }
- select[type="select-dropdown"] > button:hover
- {
- background-image:url(theme:combobox-button-hover);
- }
- select[type="select-dropdown"] > button:active
- {
- background-image:url(theme:combobox-button-pressed);
- }
-
- textarea, htmlarea
- {
- padding:3px;
- behavior:text;
- background-image:url(theme:edit-normal);
- background-repeat:stretch;
- width: min-intrinsic;
- height: min-intrinsic;
- overflow-x:auto;
- overflow-y:scroll;
- }
-
- textarea[wrap="off"]
- {
- overflow-x:scroll;
- overflow-y:scroll;
- }
-
- widget[type="textarea"], widget[type="htmlarea"]
- {
- padding:3px;
- behavior:text;
- background-image:url(theme:edit-normal);
- background-repeat:stretch;
- overflow-x:auto;
- overflow-y:scroll;
- }
-
- popup
- {
- border:1px solid threedshadow;
- background-color: infobackground;
- font-family:system;
- color:infotext;
- padding:1px 2px;
- display:none; /* invisible normally */
- width: max-intrinsic;
- height: max-intrinsic;
- }
-
-
-